package com.qf.test.service;

import com.qf.test.dao.AdmireDAO;
import com.qf.test.entity.Admire;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class AdmireService {
    @Resource
    private AdmireDAO admireDAO;

    public List<Admire> findAll(){
        return  admireDAO.findAll();
    }
}
